import request from '@/router/axios'
// 数据总览
export function dataOverview() {
  return request({
    url: '/act/energy/overview/dataOverview',
    method: 'get'
  })
}
// 节能率变化趋势
export function energySaveTrend() {
  return request({
    url: '/act/energy/overview/energySaveTrend',
    method: 'get'
  })
}
// 用能占比
export function energyUseRatio() {
  return request({
    url: '/act/energy/overview/energyUseRatio',
    method: 'get'
  })
}
// 能耗趋势对比
export function energyUseTrend() {
  return request({
    url: '/act/energy/overview/energyUseTrend',
    method: 'get'
  })
}
// 用能设备概况
export function equipmentDetail() {
  return request({
    url: '/act/energy/overview/equipmentDetail',
    method: 'get'
  })
}
// 设备类型占比
export function equipmentTypeRatio() {
  return request({
    url: '/act/energy/overview/equipmentTypeRatio',
    method: 'get'
  })
}
// 本月用能情况
export function monthUseEnergy() {
  return request({
    url: '/act/energy/overview/monthUseEnergy',
    method: 'get'
  })
}
// 区域用能排行
export function regionUseEnergy() {
  return request({
    url: '/act/energy/overview/regionUseEnergy',
    method: 'get'
  })
}
// 项目建筑信息
export function projectAndBuilding() {
  return request({
    url: '/act/energy/overview/projectAndBuilding',
    method: 'get'
  })
}

// 能耗设备下拉列表
export function selectDropList(query) {
  return request({
    url: '/act/energyDevice/selectDropList',
    method: 'get',
    params: query
  })
}



// 能耗趋势对比
export function energyConsumption(query) {
  return request({
    url: '/act/carbonNeutral/energyConsumption',
    method: 'get',
    params: query
  })
}
// 能耗数据分析
export function energyUseData(query) {
  return request({
    url: '/act/carbonNeutral/energyUseData',
    method: 'get',
    params: query
  })
}
// 能耗占比分析
export function energyUseRateAnalyse(query) {
  return request({
    url: '/act/carbonNeutral/energyUseRateAnalyse',
    method: 'get',
    params: query
  })
}
// 仪表实时读数
export function meterCurrentRead() {
  return request({
    url: '/act/carbonNeutral/meterCurrentRead',
    method: 'get'
  })
}
// 仪表月度用能
export function meterMonth(query) {
  return request({
    url: '/act/carbonNeutral/meterMonth',
    method: 'get',
    params: query
  })
}
//仪表读数
export function meterRead(query) {
  return request({
    url: '/act/carbonNeutral/meterRead',
    method: 'get',
    params: query
  })
}
// 定额指标分析
export function quotaIndex(date) {
  return request({
    url: '/act/carbonNeutral/quotaIndex/' + date,
    method: 'get'
  })
}
// 仪表月度用能总计
export function meterMonthSum(query) {
  return request({
    url: '/act/carbonNeutral/meterMonthSum',
    method: 'get',
    params: query
  })
}



